-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed issues caused by the new 'masked' appearance #6088
Conversation
1019a5e
to
6628186
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request addresses three issues but only #6072 is worth explaining. To me, it seems like an Android bug since only number questions were affected. It looks like moving the cursor needs to be delayed a little bit so I used the post method like in a few other places of the app.
These no post
in the changes. Is there a commit missing perhaps? Or I guess this comment might be out of date.
Yeah, it was the old version I forgot to update the description. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add tests for the changes to WidgetAnswerText
here.
74c8e40
to
87544ac
Compare
e043354
to
5dd63fb
Compare
5dd63fb
to
bfad220
Compare
Done. |
Tested with Success! Verified on devices with Android 11 Verified cases:
|
Tested with Success! Verified on devices with Android 10, 14 |
Closes #6072
Closes #6073
Closes #6075
Closes #6080
Why is this the best possible solution? Were any other approaches considered?
#6073 has been fixed in 24d2b99 - as we have discussed it doesn't make sense to mix
thousands-sep
withmasked
(masked
should win).#6072 and #6075 have been fixed in 6628186 by fixing setting inputtypes.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
This should fix the issues we had with
text
andnumber
questions with the newmasked
appearance. Please test the form attached below but also theAll question types
one to make suretext
andnumber
questions without themasked
appearance work well.Do we need any specific form for testing your changes? If so, please attach one.
The form attached to #6008
Does this change require updates to documentation? If so, please file an issue here and include the link below.
No.
Before submitting this PR, please make sure you have:
./gradlew connectedAndroidTest
(or./gradlew testLab
) and confirmed all checks still pass